﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SJ.Platform.EFCore.Model.ProjectManager
{
    [Table("project_stakeholder")]
    [Description("项目干系人")]
    public class ProjectStakeholder
    {
        /// <summary>
        /// 主键
        /// </summary>
        public int Id { get; set; }

        /// <summary>
        /// 项目ID
        /// </summary>
        public string? ProjectId { get; set; }

        /// <summary>
        /// 干系人ID
        /// </summary>
        public string? UserId { get; set; }

        /// <summary>
        /// 干系人姓名
        /// </summary>
        public string? RealName { get; set; }

        /// <summary>
        /// 干系人类型（1=发起人，2=团队成员，3=其他）
        /// </summary>
        public int? StakeholderType { get; set; }

        /// <summary>
        /// 添加时间
        /// </summary>
        public DateTime? AddTime { get; set; }

        /// <summary>
        /// 添加人ID
        /// </summary>
        public string? AddUserId { get; set; }
    }
}
